<extend name="Base/common"/> 
<block name="body">
    <div class="row"> 
        <div class="section" id="add_dishes"> 
            <legend><h2>手机号确认签到</h2></legend>
            <form name='sign' class="form-horizontal" role="form" action="{:U('index/dosign')}" method='POST'>
                <input type="hidden" name="mid" value="{$mid}">
                <div class="form-group">
                    <label for="mobile" class="col-sm-2 control-label">手机号</label>
                    <div class="col-sm-10">
                        <input type="number" class="form-control" name="mobile" id='mobile' placeholder="158xxxxxxxx"
                               required pattern=".{11,11}" title="11位手机号码">
                    </div>
                </div> 
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <!-- 签到开始和结束 -->
                        <button type="submit" class="btn btn-primary">签到</button>
                    </div>
                </div>
            </form>
        </div>
    </div> 
</block>